package com.cskaoyan.demo4.mapper;

import com.cskaoyan.demo4.bean.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {
    int insert(User user);

    User selectByPrimaryKey(Integer id);


    int updateAgeById(@Param("age") Integer age, @Param("id") Integer id);

    int deleteByPrimaryKey(Integer id);
}